package com.haoshuang.zhouzhoubang.ui.adapter

import com.haoshuang.zhouzhoubang.databinding.ItemMxHeadBinding
import com.haoshuang.zhouzhoubang.model.bean.TeamMember
import com.mufeng.libs.base.BaseBindingHolder
import com.mufeng.libs.base.BaseBindingQuickAdapter
import com.mufeng.libs.utils.view.load

/**
 * 
 */
class MxHeadAdapter(data: MutableList<TeamMember>) : BaseBindingQuickAdapter<TeamMember, ItemMxHeadBinding>(data = data) {
    override fun onBindViewHolder(holder: BaseBindingHolder, position: Int, item: TeamMember?) {
        holder.getViewBinding<ItemMxHeadBinding>().apply {
            rivHead.load(item?.avatar)
        }
    }
}
